package yns.springboot.common.sample.base.dao;

import java.util.List;

import yns.springboot.common.sample.base.bean.BaseBean;
import yns.springboot.common.sample.page.PaginationSearchInfo;


public interface BaseDao<T extends BaseBean> {
	
	public int getTotalCount();

	public List<T> getPage(int startNum,int pageSize);
	
	public List<T> search(int startNum,int pageSize,T searchBean);
}
